package com.peas.platform.module.icims.base.mdm.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 公告
@Data
@EqualsAndHashCode(callSuper = false)
public class AnnounceDto extends BaseDto {

    // 公告类型
    // 枚举取值:AnnounceType
    @Comment(value = "公告类型", enumType = "AnnounceType")
    private String announceType;

    // 公告标题
    @Comment(value = "公告标题")
    private String title;

    // 公告内容
    @Comment(value = "公告内容")
    private String content;

    // 状态
    // 枚举取值:CommonEnableDisable
    @Comment(value = "状态", enumType = "CommonEnableDisable")
    private String state;

    // 附件ID
    // （附件表）外键
    @Comment(value = "附件ID")
    private Long attachmentId;

    // 附件名称
    @Comment(value = "附件名称")
    private String attachmentName;

    // 附件URL
    @Comment(value = "附件URL")
    private String attachmentUrl;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
